package com.fly.estore.dao;

import com.fly.estore.domain.StockDetail;

import java.util.List;

/**
 * Created by Fly on 2016/4/26.
 */
public interface StockDetailDAO {

    public int addStockDetail(StockDetail stockDetail);

    public int updateStockDetail(StockDetail stockDetail);

    public int deleteById(String stockDetailId);

    public int deleteByStockId(String stockId);

    public StockDetail getById(String stockDetailId);

    public List<StockDetail> getByStockId(String stockId);

    public List<StockDetail> getList();

}
